#map-container { /* Changed body to #map-container */
  margin: 0;
  overflow: hidden;
  background-color: #2d7cf2;
  position: relative;
  width: 100%;
  height: 860px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.country {
  fill: rgba(49, 140, 250, 0.3);
  stroke: #4fc3f7;
  stroke-width: 0.5px;
  transition: fill 0.3s;
}

.country:hover {
  fill: rgba(77, 208, 225, 0.7);
  stroke: #00e5ff;
  stroke-width: 1px;
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8));
}

.grid-line {
  stroke: rgba(77, 182, 232, 0.2);
  stroke-width: 0.2px;
}

.pulse {
  fill: rgba(77, 208, 225, 0.5);
  stroke: #00e5ff;
  stroke-width: 1px;
  transform-origin: center;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

.special-point {
  animation: specialPulse 3s infinite;
}

@keyframes specialPulse {
  0% {
    r: 4;
    opacity: 1;
  }
  50% {
    r: 12;
    opacity: 0.5;
  }
  100% {
    r: 4;
    opacity: 1;
  }
}

.energy-line {
  stroke-dasharray: 20;
  stroke-linecap: round;
}

@keyframes energyFlow {
  0% {
    stroke-dashoffset: 1000;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -1000;
    opacity: 0;
  }
}

.city-glow {
  filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8));
}

.glow {
  filter: drop-shadow(0 0 5px rgba(77, 208, 225, 0.7));
}

.tech-label {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  fill: #4fc3f7;
  text-anchor: middle;
}
.header-text, .footer-text {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  color: #4fc3f7;
  font-family: 'Courier New', monospace;
  text-align: center;
  z-index: 10;
}

.header-text {
  top: 30px;
  font-size: 28px;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(77, 208, 225, 0.8);
}

.footer-text {
  bottom: 30px;
  font-size: 18px;
  text-shadow: 0 0 8px rgba(77, 208, 225, 0.6);
}
.Global-Business{
    width: 100%;
    height: 800px;
}
.carousel {
  position: relative;
  width: 100%;
  height: 930px !important;
  overflow: hidden;
}

video {
  position: absolute;
  width: 100%;
  height: 930px;
  object-fit: cover;
  transition: opacity 3s cubic-bezier(0.39, 0.58, 0.57, 1);
  opacity: 0;
  z-index: 1;
}

.carousel video.active {
  opacity: 1;
  z-index: 1;
}

/* 视频加载状态 */
.carousel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.2);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s ease;
}
:root {
  --primary-color: #2196f3;
  --animation-duration: 1.2s;
}
.text-container {
  font-family: 'Arial', sans-serif;
  /* top: -50%; */
  width: 800px;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin: 2rem;
  overflow: hidden;
  z-index: 3;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.text-container h5 {
  color: rgba(255,255,255,0.9);
  font-size: 4rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  font-family: 'Arial', sans-serif;
  letter-spacing: 0.1em;
}

/* 响应式调整 */
@media (max-width: 768px) {
  .text-container h5 {
      font-size: 2.5rem;
  }
}

.char {
  display: inline-block;
  position: relative;
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--animation-duration) cubic-bezier(0.23, 1, 0.32, 1),
              opacity var(--animation-duration) ease;
}

.char.animate {
  transform: translateY(0);
  opacity: 1;
}

/* 颜色渐变特效 */
.char:nth-child(odd) { color: var(--primary-color); }
.char:nth-child(even) { color: #229ca4; }

/* 响应式设计 */
@media (max-width: 768px) {
  .text-container { font-size: 2.5rem; }
}
.data-a {
  z-index: 3;
  font-family: DINEngschriftStd;
  font-size: 180px;
  color: rgba(0, 0, 0, .06);
}
    /* 添加字体定义 */
    p {
      margin: 0;
      font: inherit; 
  }
@font-face {
  font-family: 'DIN Engschrift';
  src: url('./size/DINEngschriftStd.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.Global-Business {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
}

.Global-Business img.back-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 左侧图片容器 */
.left-image {
  position: absolute;
  width: 700px;
  height: 600px;
  /* s */
  bottom: -100%;
  animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
  z-index: 2;
}

.left-image img {
  width: 100%;
  height: 100%;
  margin-top: -10%;
  /* object-fit: cover; */
  /* box-shadow: 0 20px 40px rgba(0,0,0,0.2); */
}

/* 右侧内容容器 */
.right-content {
  position: absolute;
  width: 600px;
  height: 500px;
  right:2%;
  bottom: -100%;
  animation: slideUp 1s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
  z-index: 2;
}

/* 动画定义 */
@keyframes slideUp {
  from {
      opacity: 0;
      transform: translateY(100%);
  }
  to {
      opacity: 1;
      transform: translateY(0);
      bottom: 15%;
  }
}

.bata-text {
  width: 600px;
  height: 150px;
  position: absolute;
  top: 10%;
  right: 10%;
}

.bata-text p {
  /* font-family: 'DIN Engschrift'; */
  text-transform: uppercase;
  letter-spacing: 18px;
  font-size: 90px;
  color: rgba(0, 0, 0, .06);
}

/* 右侧文字样式 */
.content-title {
  /* font-family: 'DIN Engschrift'; */
  justify-content: center;
  align-items: center; 
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1s forwards;
}

.content-description {
  font-family: Arial, sans-serif;
  margin-top: 50px;
  line-height: 1.6;
  font-size: 18px;
  color: #000000;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.2s forwards;
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}
.counter-container {
  position: absolute;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease 1.5s forwards;
}

.counter-number {
  /* font-family: 'DIN Engschrift'; */
  font-size: 3.5rem;
  color: #1290C6 !important;
  position: relative;
  display: inline-block;
  padding-left: 45px;
  transition: opacity 0.3s ease;
  font-weight: 700;
}
/* .counter-number:not(.active) {
  opacity: 0.3;
} */
.counter-number::before {
  content: '+';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.2rem;
  color: #e74c3c;
}

.counter-unit {
  font-size: 1.2rem;
  color: #000000;
  margin-left: 10px;
}
body { 
  margin: 0; 
  overflow-x: hidden;
  font-family: Arial, sans-serif;
}
/* 修改容器为常规文档流 */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  min-height: 100vh;
}
/* 新增容器样式 */
.container-body {
  width: 100vw;
  height: 100vh;
  position: relative;
  
  overflow: hidden;
  
}
/* 地球容器改为相对定位 */
.earth-canvas-container {
  position: absolute;
  right: -380px;
  top: 42%;
  transform: translateY(-50%);
  width: 100vw;
  height: 100vh;
  pointer-events: none; /* 允许穿透点击 */
  z-index: 1;
}

/* 背景图层 */
.background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  
  /* 如果需要使用图片可以替换为以下代码 */
  background-image: url('https://picture-xinjuhang.oss-cn-beijing.aliyuncs.com/uploads/images/Global-Direct-Sourcing/ex3.jpg');
  background-size: cover;
  background-position: center;
}
canvas {
  canvas {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 15px rgba(32, 156, 255, 0.4));
}
}
/* 信息栏改为相对定位 */
.info-container {
  position: relative;
  left: 3%;
  top: 15%;
  transform: none;
  max-width: 600px;
  padding: 40px;
  margin: 40px 0;
  z-index: 1;
}
.other-section {
  padding: 80px 20px;
  background: #f5f7fa;
  margin: 40px 0;
}
.info {
  color: #333;
}
h1 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}
.subtitle {
  color: #666;
  margin-bottom: 40px;
}
.stats {
  display: flex;
  gap: 80px;
  margin-bottom: 40px;
}
.stat-item {
  text-align: left;
}
.stat-value {
  font-size: 56px;
  font-weight: bold;
  color: #0052D9;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 16px;
  color: #666;
}
.description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 40px;
  width: 50vw;
}
.button {
  display: inline-block;
  background-color: #0052D9;
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}
.button:hover {
  background-color: #ccd7ed;
}
.country-label {
  color: white;
  font-family: Arial, sans-serif;
  font-size: 6px;
  padding: 2px 6px;
  background-color: rgba(255, 255, 255, 1);
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
}
@font-face {
  font-family: 'CompactFont';
  src: local('HelveticaNeueCondensed'), 
      local('Arial Narrow'),
      url('path/to/compact.woff2') format('woff2');
  font-weight: 500;
  font-stretch: condensed;
}
.Global-Business {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #f7faff; /* 浅绿色背景，与粒子效果底色相近 */
  display: flex;
  overflow: hidden;
}

/* 粒子背景canvas */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
/* 在about.css中添加 */
:root {
  --nav-height: 80px; /* 根据实际导航栏高度修改 */
}

/* 现代浏览器方案 */
:target {
  scroll-margin-top: var(--nav-height);
}

/* 传统浏览器兼容方案 */
:target::before {
  content: "";
  display: block;
  height: var(--nav-height);
  margin-top: calc(-1 * var(--nav-height));
  visibility: hidden;
}

/* 响应式适配 */
@media (max-width: 768px) {
  :root {
      --nav-height: 60px;
  }
}

/* 响应式媒体查询 */
/* 大屏幕设备 (1200px以上) */
@media screen and (min-width: 1250px) {
  .Global-Business {
    height: 800px;
  }
  
  .left-image {
    width: 600px;
    height: 500px;
  }
  
  .right-content {
    width: 600px;
    height: 500px;
  }
  
  .text-container h5 {
    font-size: 4rem;
  }
  
  .bata-text p {
    font-size: 90px;
  }
}

/* 中等屏幕设备 (992px - 1199px) */
@media screen and (max-width: 1249px) {
  .Global-Business {
    height: 700px;
  }
  .left-image img {
    margin-top: 5%;
  }
  .left-image {
    width: 50vw;
    height: 60vh;
  }
  
  .right-content {
    width: 500px;
    height: 400px;
  }
  
  .text-container h5 {
    font-size: 3.5rem;
  }
  .earth-canvas-container {
    width: 100vw;
    height: 100vh;

  }
  .bata-text p {
    font-size: 70px;
  }
}

/* 平板设备 (768px - 991px) */
@media screen and (max-width: 991px) {
  .Global-Business {
    height: 600px;
  }
  .left-image img {
    margin-top: auto;
  }
  .left-image {
    width: 45vw;
    height: 40vh;
    left: 5%;
  }
  
  .right-content {
    width: 40vw;
    height: 35vh;
    /* right: 5%; */
  }
  
  .text-container h5 {
    font-size: 3rem;
  }
  
  .bata-text p {
    font-size: 50px;
  }
  
  .content-title {
    font-size: 2rem;
  }
  
  .content-description {
    font-size: 16px;
  }
  
  .container-body {
    height: auto;
    min-height: 100vh;
  }
  
  .earth-canvas-container {
    right: -150px;
    width: 700px;
    height: 700px;
  }
  
  .info-container {
    left: 3%;
    max-width: 500px;
    margin-top: 90px;
  }
  
  .stat-value {
    font-size: 42px;
  }
}

/* 手机设备 (576px - 767px) */
@media screen and (max-width: 767px) {
  .Global-Business {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
  }
  
  .left-image {
    position: relative;
    width: 70vw;
    height: 50vh;
    left: 10%;
    margin-top: 10%;

  }
  
  .right-content {
    position: relative;
    width: 90%;
    height: auto;
    right: auto;
    margin: 0 auto;
    padding: 20px;
  }
  
  .text-container {
    width: 90%;
    top: 40%;
  }
  
  .text-container h5 {
    font-size: 2.5rem;
  }
  
  .bata-text {
    width: 90%;
    right: 5%;
  }
  
  .bata-text p {
    font-size: 40px;
    letter-spacing: 10px;
  }
  
  .content-title {
    font-size: 1.8rem;
  }
  
  .content-description {
    font-size: 14px;
    margin-top: 20px;
  }
  
  .container-body {
    height: auto;
  }
  
  .earth-canvas-container {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    height: 400px;
    margin-top: 20px;
  }
  
  .info-container {
    position: relative;
    left: 0;
    top: 0;
    max-width: 90%;
    margin: 20px auto;
    padding: 20px;
  }
  
  .stats {
    flex-direction: column;
    gap: 20px;
  }
  
  .stat-value {
    font-size: 36px;
  }
  
  .description {
    font-size: 14px;
  }
}
  
/* 小屏手机设备 (575px以下) */
@media screen and (max-width: 575px) {
  .text-container h5 {
    font-size: 2rem;
  }
  .left-image {
    width: 60vw;
    height: 40vh;
    
  }
  .text-container {
    width: 70vw;
    font-size: 2rem;
  }
  .left-image img {
    margin-top: 0;
  }
  .bata-text p {
    font-size: 30px;
    letter-spacing: 8px;
  }
  
  .content-title {
    font-size: 1.5rem;
  }
  
  .content-description {
    font-size: 13px;
  }
  
  .stat-value {
    font-size: 32px;
  }
  
  .stat-label {
    font-size: 14px;
  }
  
  .description {
    font-size: 13px;
  }
  
  .earth-canvas-container {
    height: 300px;
  }
}

/* 调整视频轮播响应式 */
@media screen and (max-width: 991px) {
  .carousel {
    height: 700px !important;
  }
  
  .carousel video {
    height: 700px;
  }
}

@media screen and (max-width: 767px) {
  .carousel {
    height: 500px !important;
  }
  
  .carousel video {
    height: 500px;
  }
}

@media screen and (max-width: 575px) {
  .carousel {
    height: 400px !important;
  }
  
  .carousel video {
    height: 400px;
  }
}